<SCRIPT type="text/javascript">
	var ztree ;
	var setting = {
		data: {
			simpleData: {
				enable: true
			}
		},
		callback: {
			//onCollapse: alert("up"),
			onExpand: function(){
				if (treeNiceScroll) {
					treeNiceScroll.resize();
				}
			}
		},
		view: {
			showLine: false
		}
	};
	var zNodes1 =[
		{ id:1, pId:0, name:"系统管理", open:true, icon:"/assets/images/icon-file-closed.png"}
		,{ id:"logrec", pId:1, name:"日志设定", open:false, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/logrec/servicesetting.html" , target:"_self" }
		/**
		,{ id:100, pId:1, name:"用户系统", open:false, icon:"/assets/images/icon-file-closed.png"}
		,{ id:101, pId:100, name:"LADP设置", open:true, icon:"/assets/images/icon-file-closed.png"}
		,{ id:102, pId:100, name:"Domino", open:true, icon:"/assets/images/icon-file-closed.png"}
		,{ id:103, pId:100, name:"Windows AD", open:true, icon:"/assets/images/icon-file-closed.png"}
		,{ id:104, pId:100, name:"其他", open:true, icon:"/assets/images/icon-file-closed.png"}
		*/
		,{ id:200, pId:1, name:"系统通知", open:false, icon:"/assets/images/icon-file-closed.png"}
		,{ id:"email", pId:200, name:"邮件配置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/email/rivusitesetting.html", target:"_self" }
		,{ id:"sms", pId:200, name:"短信配置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/sms/rivusitesetting.html", target:"_self" }
		,{ id:300, pId:1, name:"系统设置", open:false, icon:"/assets/images/icon-file-closed.png"}
		,{ id:"cache", pId:300, name:"缓存设置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/cache/servicesetting.html" , target:"_self" }
		,{ id:"connection", pId:300, name:"数据连接", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/connection/servicesetting.html" , target:"_self" }
		,{ id:"storage", pId:300, name:"存储设置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/storage/servicesetting.html" , target:"_self" }
		,{ id:"secrity", pId:300, name:"安全设置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/secrity/servicesetting.html" , target:"_self" }
		,{ id:"service", pId:300, name:"服务设置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/service/servicesetting.html" , target:"_self" }
		,{ id:"webclass", pId:300, name:"页面显示", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/webclass/servicesetting.html" , target:"_self" }
		,{ id:"log", pId:300, name:"日志配置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/log/servicesetting.html" , target:"_self" }
		,{ id:"quota", pId:300, name:"资源配额", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/quota/servicesetting.html" , target:"_self" }
		,{ id:"reports", pId:300, name:"报表设置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/reports/servicesetting.html" , target:"_self" }
		,{ id:"reportdata", pId:300, name:"数据设置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/reportdata/servicesetting.html" , target:"_self" }
		,{ id:"warn", pId:300, name:"预警设置", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/warn/servicesetting.html" , target:"_self" }
		,{ id:"auth", pId:300, name:"授权选项", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/auth/servicesetting.html" , target:"_self" }
		,{ id:"message", pId:300, name:"系统提示", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/message/servicesetting.html" , target:"_self" }
		,{ id:"tools", pId:300, name:"R3工具类", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/tools/servicesetting.html" , target:"_self" }
		,{ id:600, pId:1, name:"系统组件", open:false, icon:"/assets/images/icon-file-closed.png"}
		,{ id:"report", pId:600, name:"报表模板", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/templatelist/report/0.html" , target:"_self" }
		,{ id:"reportmodule", pId:600, name:"报表组件", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/templatelist/reportmodule/0.html" , target:"_self" }
		,{ id:"chart", pId:600, name:"图表组件", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/templatelist/chart/0.html" , target:"_self" }
		,{ id:"datav", pId:600, name:"数据可视化", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/templatelist/datav/0.html" , target:"_self" }
		,{ id:"properties", pId:600, name:"属性模板", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/templatelist/properties/0.html" , target:"_self" }
		,{ id:"system", pId:600, name:"系统模板", open:true, icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/system/templatelist/system/0.html" , target:"_self" }
		/**
		,{ id:700, pId:1, name:"数据管理", open:false, icon:"/assets/images/icon-file-closed.png"}
		,{ id:701, pId:700, name:"数据备份", open:true, icon:"/assets/images/icon-file-closed.png"}
		,{ id:702, pId:700, name:"已备份数据包", open:true, icon:"/assets/images/icon-file-closed.png"}
		*/
		<#if catagoryList??>
		<#list catagoryList as catagory>
		,{ id:"${catagory.id!''}", pId:"${type}", name:"${catagory.name!''}", icon:"${catagory.iconstr!''}" , url:"/${orgi}/manage/system/templatelist/${type}/${catagory.id!''}.html",target:"_self"}
		</#list>
		</#if>
	];
	$(document).ready(function(){
		ztree = $.fn.zTree.init($(document.getElementById("zTree_adminLIst")), setting, zNodes1);
	});
</SCRIPT>
